﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SaleOnlineStep2.ascx.cs" Inherits="ControlUser_SaleOnlineStep2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register src="uscMsgBox.ascx" tagname="uscMsgBox" tagprefix="uc2" %>
<%@ Import Namespace="BCDataCenter" %>
<link rel="stylesheet" href='<%=ResolveUrl("~/LayoutCss/datePicker.css")%>' type="text/css" />
<script type="text/javascript"  src='<%=ResolveUrl("~/JScript/jquery.alphanumeric.js")%>'></script>
<link rel="stylesheet" href='<%=ResolveUrl("~/LayoutCss/K_BaoCaoFormLayout.css")%>' type="text/css" />

<script type="text/javascript">
    function pageLoad() {
        $("#<%= btContinues.ClientID %>").click(function () {
           
                $.blockUI({
                    message: '<h1>Xin vui lòng chờ xử lý</h1>',
                    css: {
                        border: 'none',
                        padding: '15px',
                        backgroundColor: '#f00',
                        opacity: .5,
                        color: '#fff'
                    }
                });
           
        }); 

        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
        function EndRequestHandler(sender, args) {
            $.unblockUI();
        }
    }  
   
</script> 
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <fieldset>
    <legend>Hoàn thành đặt hàng trực tuyến</legend>
     <div class="fm-req">
                       <label for="txtMaTuVanVien">Mã BA:</label>
                       <asp:TextBox ID="txtMaTuVanVien" BackColor="Yellow" runat="server" ReadOnly="True" Width="150px"></asp:TextBox>
                   </div>
    <div class="fm-req">
                       <label for="txtTenTuVanVien">Họ tên:</label>
                       <asp:TextBox ID="txtTenTuVanVien" BackColor="Yellow"  ReadOnly="True" runat="server" Width="200px" MaxLength="30" TabIndex="1"></asp:TextBox>
    </div>

                   <!-----------------------Detail cart ------------------------------------------>
                             <center><img src="<%=Globals.ApplicationPath%>image/thank-you.png" width="705" height="160" class="margin_bottom"/></center>
                             <div id="divOrderMess"><p class="order-note">Bạn đã đặt hàng thành công,Hãy ghi nhớ mã đơn hàng <asp:Label ForeColor="Blue" Font-Bold="true" ID="lblMaDH"
                                     runat="server" Text=""></asp:Label> và tổng tiền hóa đơn <asp:Label ID="lblTongTien" ForeColor="Blue" Font-Bold="true"
                                     runat="server" Text=""></asp:Label> đồng</p>
                             
                             <p class="order-note">Xin vui lòng tới chi nhánh Beaute Cosmetic để nhận hàng</p></div>
        <asp:Button ID="btContinues" runat="server" Text="Tiếp tục mua hàng" 
            onclick="btContinues_Click" />
                            <!-- ----------------------------------------------------------------------------------------------- -->
    </fieldset>
</ContentTemplate>
</asp:UpdatePanel>